package org.example.service;

import org.example.pojo.UmsPermission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 权限 服务类
 * </p>
 *
 * @author wy
 * @since 2023-10-04
 */
public interface IUmsPermissionService extends IService<UmsPermission> {
    Object list(UmsPermission umsPermission);
    boolean add(UmsPermission umsPermission);
    List<UmsPermission> userPermissionList(Integer userId);
    List<UmsPermission> userPermissionListValidate(Integer userId);
}
